#include "KPF_DataManager.h"

#include <iostream>
using namespace std;

#include "KPF_HttpSession.h"

#include "log.h"

#include "oal_api.h"

#include "RunTime.h"

int main( int argc, char **argv )
{

	
	cout<<"main:-------------->"<<endl;
	
	KPF_HttpSession *pHttpClientSession = new KPF_HttpSession( (const int8_t *)"www.lelsen.sinaapp.com", 80 );
	
	if ( pHttpClientSession )
	{
		pHttpClientSession->handle_output( pHttpClientSession->getSocket(  ), NULL, 0 );
	}
	
	while ( 1 )
		os_sleep( 1000 * 1000 * 60 );
		
	return 0;	
}

static CRunTime fg_RunTime;
